package com.yaoben.exam.dao;

import java.util.List;

import com.yaoben.exam.pojo.Subject;

public interface SubjectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Subject record);

    int insertSelective(Subject record);

    Subject selectByPrimaryKey(Integer id);
    
    List<Subject> selectByUserId(Integer userid);
    
    List<Subject> selectByQuetypeId(Integer quetypeId);
    
    List<Subject> selectByQuestateId(Integer questateId); 

    int updateByPrimaryKeySelective(Subject record);

    int updateByPrimaryKey(Subject record);


}